/*
 * flash.h
 *
 *  Created on: 2021年2月22日
 *      Author: hongdian
 */

#ifndef __EXTFLASH_H_
#define __EXTFLASH_H_


#include "System.h"


void ExtFlash_Init(void);

UCHAR OSPI_SendCMD(uint32_t instruction,uint32_t address,uint32_t dummyCycles,uint32_t instructionMode,uint32_t instructionSize,   \
					uint32_t addressMode,uint32_t addressSize,uint32_t dataMode,uint32_t dataSize);
UCHAR OSPI_Receive(UCHAR *_receData);	
UCHAR OSPI_Transmit(UCHAR *_receData);
					
#endif /* INC_FLASH_H_ */
